


void setup() {
  pinMode(9,OUTPUT);
  pinMode(6,OUTPUT);
  pinMode(10,OUTPUT);
  pinMode(5,OUTPUT);
  pinMode(A0,OUTPUT);
  pinMode(A1,OUTPUT);
  pinMode(A2,OUTPUT);
  pinMode(A3,OUTPUT);
  pinMode(A4,OUTPUT);
  pinMode(A5,OUTPUT);
  analogWrite(9,0);
  analogWrite(10,0);
  analogWrite(6,0);
  analogWrite(5,0);
  digitalWrite(A0,LOW);
  digitalWrite(A1,LOW);
  digitalWrite(A2,LOW);
  digitalWrite(A3,LOW);
  digitalWrite(A4,LOW);
  digitalWrite(A5,LOW);
  digitalWrite(2,LOW);
  digitalWrite(4,LOW);
}

void go()
{
  analogWrite(9,150);
  analogWrite(10,150);
  analogWrite(6,150);
  analogWrite(5,150);
  digitalWrite(A0,HIGH);
  digitalWrite(A1,LOW);
  digitalWrite(A2,HIGH);
  digitalWrite(A3,LOW);
  digitalWrite(A4,HIGH);
  digitalWrite(A5,LOW);
  digitalWrite(2,HIGH);
  digitalWrite(4,LOW);
}
void left_turn()
{
  analogWrite(9,150);
  analogWrite(10,150);
  analogWrite(6,150);
  analogWrite(5,150);
  digitalWrite(A0,HIGH);
  digitalWrite(A1,LOW);
  digitalWrite(A2,HIGH);
  digitalWrite(A3,LOW);
  digitalWrite(A5,HIGH);
  digitalWrite(A4,LOW);
  digitalWrite(4,HIGH);
  digitalWrite(2,LOW);
}
void back()
{
  analogWrite(9,150);
  analogWrite(10,150);
  analogWrite(6,150);
  analogWrite(5,150);
  digitalWrite(A0,HIGH);
  digitalWrite(A1,LOW);
  digitalWrite(A2,HIGH);
  digitalWrite(A3,LOW);
  digitalWrite(A4,HIGH);
  digitalWrite(A5,LOW);
  digitalWrite(2,HIGH);
  digitalWrite(4,LOW);
}
void right_turn()
{
  analogWrite(9,150);
  analogWrite(10,150);
  analogWrite(6,150);
  analogWrite(5,150);
  digitalWrite(A0,HIGH);
  digitalWrite(A1,LOW);
  digitalWrite(A2,HIGH);
  digitalWrite(A3,LOW);
  digitalWrite(A5,HIGH);
  digitalWrite(A4,LOW);
  digitalWrite(4,HIGH);
  digitalWrite(2,LOW);
}
void left()
{
  analogWrite(9,150);
  analogWrite(10,150);
  analogWrite(6,150);
  analogWrite(5,150);
  digitalWrite(A0,HIGH);
  digitalWrite(A1,LOW);
  digitalWrite(A2,HIGH);
  digitalWrite(A3,LOW);
  digitalWrite(A4,HIGH);
  digitalWrite(A5,LOW);
  digitalWrite(2,HIGH);
  digitalWrite(4,LOW);
}
void right()
{
  analogWrite(9,150);
  analogWrite(10,150);
  analogWrite(6,150);
  analogWrite(5,150);
  digitalWrite(A0,HIGH);
  digitalWrite(A1,LOW);
  digitalWrite(A2,HIGH);
  digitalWrite(A3,LOW);
  digitalWrite(A5,HIGH);
  digitalWrite(A4,LOW);
  digitalWrite(4,HIGH);
  digitalWrite(2,LOW);
}

void loop()
{
  
}






